import Vue from 'vue'
import VueI18n from 'vue-i18n'

import enElement from 'element-ui/lib/locale/lang/en'
import zhElement from 'element-ui/lib/locale/lang/zh-CN'

import zhCoust from './zh'
import enCoust from './en'
Vue.use(VueI18n)

export default new VueI18n({
  locale: 'zh',
  messages: {
    zh: {
      morning: '早安',
      getShowday: '祝你开心每一天！',
      confirmdel: '是否确认删除',
      ...zhElement,
      ...zhCoust
    },
    en: {
      morning: 'Good morning,',
      getShowday: 'I wish you happy every day!',
      confirmdel: 'Confirm deletion',
      ...enElement,
      ...enCoust
    }
  }
})
